*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #0c1b21;
}

.loader {
  position: relative;
  width: 250px;
  height: 250px;
  filter: url(#gooey);
  animation: animate 16s linear infinite;
}

.loader span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(calc(45deg * var(--i)));
}

.loader span::before{
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #c7eeff, #03a9f4);
  border-radius: 50%;
  box-shadow: 0 0 30px #00bcd4;
}

.rotate {
  animation: animate 4s ease-in-out infinite;
  animation-delay: calc(-0.2s * var(--j));
}

@keyframes animate{
  0% {
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}

svg {
  width: 0;
  height: 0;
}